﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Hexa.Core.Domain;

namespace Hexa.QuestionEngine.Domain
{
    [Serializable]
    public class SurveySection : AuditableEntity<SurveySection>
    {
        public SurveySection()
        {
            _surveyQuestions = new List<SurveyQuestion>();
        }

        public virtual Survey Survey { get; set; }

        public virtual string Name { get; set; }

        public virtual string Instructions { get; set; }

        public virtual int SortKey { get; set; }

        private IList<SurveyQuestion> _surveyQuestions;

        public virtual IList<SurveyQuestion> SurveyQuestions
        {
            get { return _surveyQuestions; }
        }
    }
}
